<!--
  @author heguanghua
  @since 2020/05/31 12:26
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead >
    <tr>
        <th lay-data="{type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>
        <th lay-data="{field:'dataId', width:80, unresize:true, align:'center'}">一级合作ID</th>
        <th lay-data="{field:'dataName', width:200, unresize:true, align:'left'}">一级合作名称</th>
        <th lay-data="{field:'subors', unresize:true, align:'left'}">二级合作列表</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td></td>
        <td th:text="${item.dataId}">dataId</td>
        <td th:text="${item.dataName}">dataName</td>
        <td>
            <span class="zmn-item-mini" th:id="${'two_' + sub.dataId}" th:name="${'one_' + item.dataId}" th:each="sub,iter:${item.subors}">
                <th:block th:text="${sub.dataName}"/><a class="zmn-icon" th:href="${'javascript:deleteChannel(' + item.dataId + ', ' + sub.dataId + ');'}" th:if="${hasDpermitDelete}"></a>
            </span>
        </td>
    </tr>
    </tbody>
</table>
